package com.shop.client;

import com.shop.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;

@FeignClient(value = "USER-PROVIDER", fallback = UserFeignClientImp.class)
public interface UserFeignClient {
    @PutMapping("/updateArticleNumber/{authorId}/{changeNum}")
    public Result updateArticleNumber(@PathVariable("authorId") Integer authorId, @PathVariable("changeNum") Integer changeNum);
}
